import type { Model } from '~/api/base/base-model.ts'

export interface ApiReq {
  id?: string
  permissionId?: string
  menuId?: string
  apiTitle?: string
  apiTitleByLike?: string
  apiCode?: string
  apiUrl?: string
  apiHttpMethod?: string
  apiParam?: string
  sort?: number
  note?: string
}

export interface ApiResp extends Model {
  id?: string
  menuId?: string
  apiTitle?: string
  apiCode?: string
  apiUrl?: string
  apiHttpMethod?: string
  apiParam?: string
  sort?: number
  checked?: boolean
}
